Feature-339: Accept --max-run-time-sec in test_with_docker.sh#340
Feature-339: Accept --max-run-time-sec in test_with_docker.sh#340andsimakov wants to merge 3 commits intoqodo-ai:mainfrom
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
| self.logger.info( | ||
| f"Reached above target coverage of {desired_coverage}% " | ||
| f"(Current Coverage: {current_coverage}%) in {iteration_count} iterations." | ||
| f"(Current Coverage: {current_coverage}%) in {iteration_count + 1} iterations." |
There was a problem hiding this comment.
This fixes a situation where the desired coverage is reached during the first iteration, but it appears as if it was reached in 0 iterations.
| from pathlib import Path | ||
| from typing import AsyncIterator, List, Tuple, Optional | ||
| from cover_agent.AICaller import AICaller | ||
| from cover_agent.ai_caller import AICaller |
There was a problem hiding this comment.
Fix after an unintentional rollback.
PR Type
Enhancement
Description
Added
--max-run-time-secargument support totest_with_docker.shPassed
--max-run-time-secfrom integration test scriptUpdated command construction to include max run time
Changes walkthrough 📝
test_with_docker.sh
Add and handle --max-run-time-sec argument in test_with_docker.shtests_integration/test_with_docker.sh
MAX_RUN_TIME_SECvariable with default value--max-run-time-secargument in CLI options--max-run-time-secto agent command if settest_all.sh
Pass max run time argument to test_with_docker.shtests_integration/test_all.sh
--max-run-time-sec 240totest_with_docker.shinvocation